/**
 * 执行 {{logicNode.name}} 节点
 *
 * @protected
 * @memberof {{pascalCase uiLogic.codeName}}UILogicBase
 */
protected async execute_{{logicNode.codeName}}_node() {
{{#if logicNode.code}}
    try {
        let context = this.context;
        let viewParams = this.viewParams;
        let data: any = this.defaultParam.getReal();
        eval(`{{logicNode.code}}`);
        this.bindLastReturnParam(null);
        {{> @macro/logic-node/next-node.hbs}}
    } catch (error:any) {
        throw new Error(`执行 {{logicNode.name}} 节点 错误：${error && error.message ? error.message : '自定义代码 {{logicNode.codeName}} 发生异常'}`);
    }
{{else}}
    throw new Error('无代码片段');
{{/if}}
}
